package com.zwl.chengguangservice.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import java.io.Serializable;
//动态表
@TableName("dynamic_condition")
public class DynamicCondition implements Serializable {
    /**
     * 主键属性  @TableId
     *
     * value 该属性对应的数据库表中的字段名
     * type 主键自增的类型 AUTO 代表自动递增
     */
    @TableId("dynamic_id")
    private int dynamic_id;
    @TableId("Create_dynamic_userid")
    private int Create_dynamic_userid;
    @TableId("handler_dynamic_userid")
    private int handler_dynamic_userid;
    @TableId("createTime")
    private DateTimeLiteralExpression.DateTime createTime;
    @TableId("updateTime")
    private DateTimeLiteralExpression.DateTime updateTime;
    @TableId("dynamic_url")
    private String dynamic_url;
    @TableId("dynamic_video")
    private String dynamic_video;
    @TableId("dynamic_number")
    private int dynamic_number;
    @TableId("dynamic_text")
    private String dynamic_text;

    //<editor-fold defaultstate="collapsed" desc="delombok">
    @SuppressWarnings("all")
    public DynamicCondition() {
    }

    /**
     * 主键属性  @TableId
     *
     * value 该属性对应的数据库表中的字段名
     * type 主键自增的类型 AUTO 代表自动递增
     */
    @SuppressWarnings("all")
    public int getDynamic_id() {
        return this.dynamic_id;
    }

    @SuppressWarnings("all")
    public int getCreate_dynamic_userid() {
        return this.Create_dynamic_userid;
    }

    @SuppressWarnings("all")
    public int getHandler_dynamic_userid() {
        return this.handler_dynamic_userid;
    }

    @SuppressWarnings("all")
    public DateTimeLiteralExpression.DateTime getCreateTime() {
        return this.createTime;
    }

    @SuppressWarnings("all")
    public DateTimeLiteralExpression.DateTime getUpdateTime() {
        return this.updateTime;
    }

    @SuppressWarnings("all")
    public String getDynamic_url() {
        return this.dynamic_url;
    }

    @SuppressWarnings("all")
    public String getDynamic_video() {
        return this.dynamic_video;
    }

    @SuppressWarnings("all")
    public int getDynamic_number() {
        return this.dynamic_number;
    }

    @SuppressWarnings("all")
    public String getDynamic_text() {
        return this.dynamic_text;
    }

    /**
     * 主键属性  @TableId
     *
     * value 该属性对应的数据库表中的字段名
     * type 主键自增的类型 AUTO 代表自动递增
     */
    @SuppressWarnings("all")
    public void setDynamic_id(final int dynamic_id) {
        this.dynamic_id = dynamic_id;
    }

    @SuppressWarnings("all")
    public void setCreate_dynamic_userid(final int Create_dynamic_userid) {
        this.Create_dynamic_userid = Create_dynamic_userid;
    }

    @SuppressWarnings("all")
    public void setHandler_dynamic_userid(final int handler_dynamic_userid) {
        this.handler_dynamic_userid = handler_dynamic_userid;
    }

    @SuppressWarnings("all")
    public void setCreateTime(final DateTimeLiteralExpression.DateTime createTime) {
        this.createTime = createTime;
    }

    @SuppressWarnings("all")
    public void setUpdateTime(final DateTimeLiteralExpression.DateTime updateTime) {
        this.updateTime = updateTime;
    }

    @SuppressWarnings("all")
    public void setDynamic_url(final String dynamic_url) {
        this.dynamic_url = dynamic_url;
    }

    @SuppressWarnings("all")
    public void setDynamic_video(final String dynamic_video) {
        this.dynamic_video = dynamic_video;
    }

    @SuppressWarnings("all")
    public void setDynamic_number(final int dynamic_number) {
        this.dynamic_number = dynamic_number;
    }

    @SuppressWarnings("all")
    public void setDynamic_text(final String dynamic_text) {
        this.dynamic_text = dynamic_text;
    }

    @Override
    @SuppressWarnings("all")
    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof DynamicCondition)) return false;
        final DynamicCondition other = (DynamicCondition) o;
        if (!other.canEqual((Object) this)) return false;
        if (this.getDynamic_id() != other.getDynamic_id()) return false;
        if (this.getCreate_dynamic_userid() != other.getCreate_dynamic_userid()) return false;
        if (this.getHandler_dynamic_userid() != other.getHandler_dynamic_userid()) return false;
        if (this.getDynamic_number() != other.getDynamic_number()) return false;
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        if (this$createTime == null ? other$createTime != null : !this$createTime.equals(other$createTime)) return false;
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null ? other$updateTime != null : !this$updateTime.equals(other$updateTime)) return false;
        final Object this$dynamic_url = this.getDynamic_url();
        final Object other$dynamic_url = other.getDynamic_url();
        if (this$dynamic_url == null ? other$dynamic_url != null : !this$dynamic_url.equals(other$dynamic_url)) return false;
        final Object this$dynamic_video = this.getDynamic_video();
        final Object other$dynamic_video = other.getDynamic_video();
        if (this$dynamic_video == null ? other$dynamic_video != null : !this$dynamic_video.equals(other$dynamic_video)) return false;
        final Object this$dynamic_text = this.getDynamic_text();
        final Object other$dynamic_text = other.getDynamic_text();
        if (this$dynamic_text == null ? other$dynamic_text != null : !this$dynamic_text.equals(other$dynamic_text)) return false;
        return true;
    }

    @SuppressWarnings("all")
    protected boolean canEqual(final Object other) {
        return other instanceof DynamicCondition;
    }

    @Override
    @SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + this.getDynamic_id();
        result = result * PRIME + this.getCreate_dynamic_userid();
        result = result * PRIME + this.getHandler_dynamic_userid();
        result = result * PRIME + this.getDynamic_number();
        final Object $createTime = this.getCreateTime();
        result = result * PRIME + ($createTime == null ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * PRIME + ($updateTime == null ? 43 : $updateTime.hashCode());
        final Object $dynamic_url = this.getDynamic_url();
        result = result * PRIME + ($dynamic_url == null ? 43 : $dynamic_url.hashCode());
        final Object $dynamic_video = this.getDynamic_video();
        result = result * PRIME + ($dynamic_video == null ? 43 : $dynamic_video.hashCode());
        final Object $dynamic_text = this.getDynamic_text();
        result = result * PRIME + ($dynamic_text == null ? 43 : $dynamic_text.hashCode());
        return result;
    }

    @Override
    @SuppressWarnings("all")
    public String toString() {
        return "DynamicCondition(dynamic_id=" + this.getDynamic_id() + ", Create_dynamic_userid=" + this.getCreate_dynamic_userid() + ", handler_dynamic_userid=" + this.getHandler_dynamic_userid() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", dynamic_url=" + this.getDynamic_url() + ", dynamic_video=" + this.getDynamic_video() + ", dynamic_number=" + this.getDynamic_number() + ", dynamic_text=" + this.getDynamic_text() + ")";
    }
    //</editor-fold>
}
